package com.jiecao.news.jiecaonews.service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;

import com.umeng.analytics.MobclickAgent;

public class StartService extends Service {
	private String TAG=  "StartService";

	@Override
	public IBinder onBind(Intent intent) {
		return null;
	}

	@Override
	public void onStart(Intent intent, int startId) {
		Log.e(TAG, "in service on start");
		MobclickAgent.onResume(this);
		super.onStart(intent, startId);
	}

	@Override
	public void onDestroy() {
		Log.e(TAG, "in service on destory");
		MobclickAgent.onPause(this);
		super.onDestroy();
	}
	
	

}
